package com.ec.bean;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

import com.ec.core.annotation.Table;
import com.ec.core.annotation.Field;

@Table(name = "t_PurchaseOrderItem")
public class PurchaseOrderItem implements java.io.Serializable {

	private int id;
	private int purchaseOrderId;
	private int productId;
	private String productName;
	private String spec;
	private int purchaseAmount;
	private int expectPrice;
	private int receiveAmount;
	private Date createTime;

	public PurchaseOrderItem() {

	}

	@Field(name = "id", pk = true)
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	@Field(name = "PurchaseOrderid")
	public int getPurchaseOrderId() {
		return purchaseOrderId;
	}

	public void setPurchaseOrderId(int purchaseOrderId) {
		this.purchaseOrderId = purchaseOrderId;
	}

	@Field(name = "Productid")
	public int getProductId() {
		return productId;
	}

	public void setProductId(int productId) {
		this.productId = productId;
	}

	@Field(name = "ProductName")
	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	@Field(name = "Spec")	
	public String getSpec() {
		return spec;
	}

	public void setSpec(String spec) {
		this.spec = spec;
	}

	@Field(name = "Purchaseamount")
	public int getPurchaseAmount() {
		return purchaseAmount;
	}

	public void setPurchaseAmount(int purchaseAmount) {
		this.purchaseAmount = purchaseAmount;
	}

	@Field(name = "Expectprice")
	public int getExpectPrice() {
		return expectPrice;
	}

	public void setExpectPrice(int expectPrice) {
		this.expectPrice = expectPrice;
	}

	@Field(name = "Receiveamount")
	public int getReceiveAmount() {
		return receiveAmount;
	}

	public void setReceiveAmount(int receiveAmount) {
		this.receiveAmount = receiveAmount;
	}

	@Field(name = "Createtime")
	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}


	
	


	
	


}
